import 'package:fish_redux/fish_redux.dart';
import '../state.dart';

class OrderPayTypeModel {
  final String typeID;
  final String typeName;

  const OrderPayTypeModel({this.typeID, this.typeName});
}

class OrderDetailListViewState implements Cloneable<OrderDetailListViewState> {
  OrderListItemModel model;
  List payTypeItem;
  String bluetoothNo;
  String consumerPhone;

  @override
  OrderDetailListViewState clone() {
    return OrderDetailListViewState()
      ..model = model
      ..consumerPhone = consumerPhone
      ..payTypeItem = payTypeItem
      ..bluetoothNo = bluetoothNo;
  }
}

OrderDetailListViewState initState(Map<String, dynamic> args) {
  return OrderDetailListViewState()..model = args['model'];
}
